package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Friend;

import java.util.List;

/**
 * @author 刘付磊
 * @date 2021/11/21 0021
 */
public interface FriendApi {
    void save(Long userId, Long friendId);

    List<Friend> findByFriends(Integer page, Integer pagesize, Long userId);
}
